package com.kisszpy.core.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * 树形结构模型
 * @author Administrator
 *
 */
public class TreeNode {
	private Integer id;
	private String name;
	private String url;
	private String target;
	private boolean open = true;
	private List<TreeNode> nodes = new ArrayList<TreeNode>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public List<TreeNode> getNodes() {
		return nodes;
	}
	public void setNodes(List<TreeNode> nodes) {
		this.nodes = nodes;
	}
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
	
}
